package api.app;

import java.io.IOException;

import common.Host;
import common.Request;

/**
 * 实现帮忙医APP2017新年抽奖LuckDraw接口调用
 * @author maojj
 *
 */
public class LuckDraw
{
	/**
	 * 实现帮忙医APP2017新年抽奖LuckDraw接口调用
	 * @param token - 调用接口需要的token
	 * @return - 接口返回数据
	 * @throws IOException 
	 */
	public static String get(String token) throws IOException
	{	
		//拼接接口地址
		String url = Host.getAddress() + "/api/LuckDraw";
			
		//调用接口并返回接口结果
		String result = Request.get(url, null, token);
		return result;	
	}
}
